<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
    xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 
    xmlns="http://www.opengis.net/sld" 
    xmlns:ogc="http://www.opengis.net/ogc" 
    xmlns:xlink="http://www.w3.org/1999/xlink" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!-- 
   type:Park 

1 Developed Park site 
2 Open space or natural area 
3 Common area of a subdivision or condominium complex. 
4 Cemetery 
5 Golf course 
6 School 
7 Pool 
8 Tennis courts 
9 Fairgrounds or stadium use 
10 Community center 
11 Trail or path 
12 Community Garden
-->

  <NamedLayer>
    <Name>Parks</Name>
    <UserStyle>
      <Title>Parks</Title>
      <Abstract>Green parks</Abstract>
      <FeatureTypeStyle>
        <!-- park greens -->
        <Rule>
          <Name>Rule 1</Name>
          <Title>GreenFill GreenOutline</Title>
          <Abstract>Green fill with a 1 pixel outline</Abstract>
          <ogc:Filter>
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>display</ogc:PropertyName>
              <ogc:Literal>true</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          <!-- like a linesymbolizer but with a fill too -->
          <PolygonSymbolizer>
            <Fill>
              <CssParameter name="fill">#D5DDBB</CssParameter>
              <CssParameter name="fill-opacity">1.0</CssParameter>
            </Fill>
            <Stroke>
              <CssParameter name="stroke">#D5DDBB</CssParameter>
              <CssParameter name="stroke-width">1.0</CssParameter>
            </Stroke>
          </PolygonSymbolizer>
        </Rule>

        <!-- park labels -->
        <Rule>
          <!-- only show first few zoom levels, since meta tiling is small, and thus we get many labels --> 
          <MinScaleDenominator>37795</MinScaleDenominator>
          <MaxScaleDenominator>604724</MaxScaleDenominator>
          <ogc:Filter>
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>label</ogc:PropertyName>
              <ogc:Literal>true</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          <TextSymbolizer>
            <Label>
              <ogc:PropertyName>name</ogc:PropertyName>
            </Label>
            <Font>
              <CssParameter name="font-family">
                <ogc:Literal>Lucida Sans</ogc:Literal>
              </CssParameter>
              <CssParameter name="font-size">
                <ogc:Literal>9.0</ogc:Literal>
              </CssParameter>
              <CssParameter name="font-style">
                <ogc:Literal>normal</ogc:Literal>
              </CssParameter>
              <CssParameter name="font-weight">
                <ogc:Literal>bold</ogc:Literal>
              </CssParameter>
            </Font>
            <LabelPlacement>
              <PointPlacement>
                <AnchorPoint>
                  <AnchorPointX>
                    <ogc:Literal>0.5</ogc:Literal>
                  </AnchorPointX>
                  <AnchorPointY>
                    <ogc:Literal>0.5</ogc:Literal>
                  </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
            </LabelPlacement>
<!--
            <Halo>
                <Radius>
                  <ogc:Literal>1</ogc:Literal>
                </Radius>
                <Fill>
                  <CssParameter name="fill">#000000</CssParameter>
                  <CssParameter name="fill-opacity">0.3</CssParameter>
                </Fill>
            </Halo>
-->
            <Fill>
              <CssParameter name="fill">
                <ogc:Literal>#82886D</ogc:Literal>
              </CssParameter>
              <CssParameter name="fill-opacity">
                <ogc:Literal>1.0</ogc:Literal>
              </CssParameter>
            </Fill>
            <VendorOption name="group">true</VendorOption>
            <VendorOption name="autoWrap">80</VendorOption>
            <VendorOption name="spaceAround">60</VendorOption>
          </TextSymbolizer>
        </Rule>

        <!-- POOLS -->
        <Rule>
          <MaxScaleDenominator>37795</MaxScaleDenominator>
          <ogc:Filter>
            <ogc:And>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>7</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>usage</ogc:PropertyName>
                <ogc:Literal>public</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            </ogc:And>
          </ogc:Filter>
          <PointSymbolizer>
             <Graphic>
                <Mark>
                   <WellKnownName>ttf://Webdings#0xF08A</WellKnownName>
                   <Fill>
                      <CssParameter name="fill">#82886D</CssParameter>
                   </Fill>
                </Mark>
                <Size>36</Size>
             </Graphic>
              <PointPlacement>
                <AnchorPoint>
                 <AnchorPointX> <ogc:Literal>0.5</ogc:Literal> </AnchorPointX>
                 <AnchorPointY> <ogc:Literal>1.0</ogc:Literal> </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
          </PointSymbolizer>
          <TextSymbolizer>
            <Label>
              <ogc:PropertyName>name</ogc:PropertyName>
            </Label>
            <Font>
              <CssParameter name="font-family">  <ogc:Literal>Lucida Sans</ogc:Literal>  </CssParameter>
              <CssParameter name="font-size">    <ogc:Literal>9.0</ogc:Literal>          </CssParameter>
              <CssParameter name="font-style">   <ogc:Literal>normal</ogc:Literal>       </CssParameter>
              <CssParameter name="font-weight">  <ogc:Literal>bold</ogc:Literal>         </CssParameter>
            </Font>
            <LabelPlacement>
              <PointPlacement>
                <AnchorPoint>
                 <AnchorPointX> <ogc:Literal>0.5</ogc:Literal>  </AnchorPointX>
                 <AnchorPointY> <ogc:Literal>-1.0</ogc:Literal> </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
            </LabelPlacement>
            <Fill>
              <CssParameter name="fill">         <ogc:Literal>#82886D</ogc:Literal> </CssParameter>
              <CssParameter name="fill-opacity"> <ogc:Literal>1.0</ogc:Literal>     </CssParameter>
            </Fill>
            <VendorOption name="group">true</VendorOption>
            <VendorOption name="autoWrap">70</VendorOption>
            <VendorOption name="spaceAround">3</VendorOption>
          </TextSymbolizer>
        </Rule>

        <!-- Stadiums -->
        <Rule>
          <MaxScaleDenominator>37795</MaxScaleDenominator>
          <MinScaleDenominator>7559</MinScaleDenominator>
          <ogc:Filter>
            <ogc:And>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>9</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            </ogc:And>
          </ogc:Filter>
          <PointSymbolizer>
             <Graphic>
                <Mark>
                   <WellKnownName>ttf://Webdings#0xF053</WellKnownName>
                   <Fill>
                      <CssParameter name="fill">#82886D</CssParameter>
                   </Fill>
                </Mark>
                <Size>22</Size>
             </Graphic>
              <PointPlacement>
                <AnchorPoint>
                 <AnchorPointX> <ogc:Literal>0.5</ogc:Literal> </AnchorPointX>
                 <AnchorPointY> <ogc:Literal>1.0</ogc:Literal> </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
          </PointSymbolizer>
          <TextSymbolizer>
            <Label>
              <ogc:PropertyName>name</ogc:PropertyName>
            </Label>
            <Font>
              <CssParameter name="font-family">  <ogc:Literal>Lucida Sans</ogc:Literal>  </CssParameter>
              <CssParameter name="font-size">    <ogc:Literal>9.0</ogc:Literal>          </CssParameter>
              <CssParameter name="font-style">   <ogc:Literal>normal</ogc:Literal>       </CssParameter>
              <CssParameter name="font-weight">  <ogc:Literal>bold</ogc:Literal>         </CssParameter>
            </Font>
            <LabelPlacement>
              <PointPlacement>
                <AnchorPoint>
                 <AnchorPointX> <ogc:Literal>0.5</ogc:Literal>  </AnchorPointX>
                 <AnchorPointY> <ogc:Literal>-1.0</ogc:Literal> </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
            </LabelPlacement>
            <Fill>
              <CssParameter name="fill">         <ogc:Literal>#82886D</ogc:Literal> </CssParameter>
              <CssParameter name="fill-opacity"> <ogc:Literal>1.0</ogc:Literal>     </CssParameter>
            </Fill>
            <VendorOption name="group">true</VendorOption>
            <VendorOption name="autoWrap">70</VendorOption>
            <VendorOption name="spaceAround">3</VendorOption>
          </TextSymbolizer>
        </Rule>


        <!-- TENIS & GOLF -->
<!--
Golf labeling is scatterd and wrong

            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>5</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>8</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            </ogc:Or>
          </ogc:Filter>
          <PointSymbolizer>
             <Graphic>
                <Mark>
                   <WellKnownName>ttf://Webdings#0xF089</WellKnownName>
                   <Fill>
                      <CssParameter name="fill">#668099</CssParameter>
                   </Fill>
                </Mark>
                <Size>36</Size>
             </Graphic>
              <PointPlacement>
                <AnchorPoint>
                 <AnchorPointX> <ogc:Literal>0.5</ogc:Literal> </AnchorPointX>
                 <AnchorPointY> <ogc:Literal>1.0</ogc:Literal> </AnchorPointY>
                </AnchorPoint>
              </PointPlacement>
          </PointSymbolizer>
-->

        <!-- COMMUNITY CENTER -->
<!--
Too many centers & gardens to show...

          <ogc:Filter>
            <ogc:Or>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>10</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>type</ogc:PropertyName>
                <ogc:Literal>12</ogc:Literal>
            </ogc:PropertyIsEqualTo>
            </ogc:Or>
          </ogc:Filter>
          <PointSymbolizer>
             <Graphic>
                <Mark>
                   <WellKnownName>ttf://Webdings#0xF094</WellKnownName>
                   <Fill>
                      <CssParameter name="fill">#668099</CssParameter>
                   </Fill>
                </Mark>
                <Size>36</Size>
             </Graphic>
         </PointSymbolizer>
-->
        </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>